

// 大盒子
.productDetails_info{
    margin-top: 70px;
    // height: 700px;
    // 放大镜
    .productDetails_info_box{
        // 头部路径
        margin-bottom: 70px;
        .info_top_banxin{
            padding: 25px 0;
            width: 1200px;
            margin: 0 auto;
            display: flex;
            font-size: 14px;
            // 文字间隙-颜色
            span{
                padding: 2px;
                .link{
                    color: #303133
                }
            }
        }
        // 商品照片
        .product_info_pic{
            width: 1200px;
            height: 511px;
            margin: 0 auto;
            // background-color: blueviolet;
            display: flex;
            // .商品图片  放大镜
            .product_info_pic_lef{
                display: flex;
                flex-direction: column;
                margin-right: 40px;
                position: relative;
                // 商品照片
                .pic_lef_top{
                    position: relative;
                    width: 430px;
                    height: 430px;
                    padding:1px;
                    border: 1px solid #dcdfe6;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                    // 图片上小方块
                    .pic_lef_box_mask{
                        width: 143px;
                        height: 143px;
                        background-color: rgba(0,0,0,.5);
                        position: absolute;
                        top: 0px;
                        display: none;
                    }
                    // 遮罩层
                    .membrane{
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        z-index: 200;
                        top: 0;
                        left: 0;
                    }
                }
                // 右侧放大的照片
                .big_box_pic{
                    position: absolute;
                    width: 430px;
                    height: 430px;
                    right: -435px;
                    overflow: hidden;
                    display: none;
                    img{
                        position: relative;
                        width: 1320px;
                        height: 1320px;
                    }
                }
                // 多个小照片
                .pic_lef_bet{
                    display: flex;
                    justify-content: space-between;
                    width: 100%;
                    box-sizing: border-box;
                    padding: 5px 5px;
                    
                    .smallPhoto{
                        width: 70px;
                        height: 70px;
                        border: 1px solid rgba(0,0,0,0);
                        img{
                            height: 100%;
                        }
                    }
                    // 切换效果
                    .pic_border{
                        border: 1px solid grey;
                    }
                }
                
            }
            // 右侧介绍
            .product_info_pic_rig{
                width: 100%;
                height: 100%;
                // 商品名字
                .photo_name{
                    font-size: 20px;
                    color: #333;
                    font-weight: 700;
                    margin-bottom: 3px;
                    height: 27px;
                    line-height: 27px;
                }
                // 商品介绍
                .photo_sunnary{
                    color: #999;
                    font-size: 14px;
                    margin: 0 0 3px 0;
                    line-height: 20px;
                }
                // 商品特点
                .photo_upgrade{
                    display: flex;
                    align-items: center;
                    width: 100%;
                    height: 40px;
                    color: white;
                    background: linear-gradient(180deg,#d1b874,#dec583);
                    padding: 0 20px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    margin-bottom: 10px;
                    box-sizing: border-box;
                }
                // 商品金额
                .photo_price{
                    display: flex;
                    width: 100%;
                    margin-bottom: 20px;
                    // 左侧金额
                    .photo_price_lef{
                        display: flex;
                        align-items: center;
                         width: 565px;
                        span{
                            margin-right: 10px;
                            // 活动价
                            &:nth-child(1){
                                font-size: 14PX;
                                color: #666;
                                width: 45px;
                                margin-right: 20px;
                            }
                             // 金额
                            &:nth-child(2){
                                display: flex;
                                align-items: center;
                                color: red;
                                h3{
                                    font-size: 14px;
                                }
                                strong{
                                    font-size: 20px;
                                    
                                }
                            }
                            
                        }
                        .remover{
                            color: #666;
                                text-decoration: line-through #666;
                            }
                    }
                    // 右侧积累
                    .photo_price_rig{
                        display: flex;
                        align-items: center;
                        padding-right: 20px;
                        width: 165px;
                        border-left: 1px solid #ccc;
                        span{
                            margin-left: 30px;
                            color: #333;
                            font-size: 14px;
                        }
                    }
                }
                // 商品服务
                .photo_service{
                    display: flex;
                    width: 565px;
                    margin-bottom: 20px;
                    // 左侧服务
                    .service_lef{
                        font-size: 14PX;
                        color: #666;
                        width: 45px;
                        margin-right: 20px;
                        width: 65px;
                    }
                    // 右侧服务内容
                    .service_rig{
                        display: flex;
                        flex-wrap: wrap;
                        // 每个内容
                        .service_rig_box{
                            margin: 0 0 5px 0;
                            width: 165px;
                            display: flex;
                            align-items: center;
                            img{
                                width: 16px;
                                height: 16px;
                                margin-right: 5px;
                            }
                            span{
                                color: #333;
                                font-size: 14px;
                            }
                        }
                    }
                }
                // 商品限制 / 不包邮
                .photo_restrict{
                    display: flex;
                    color: #333;
                    font-size: 14px;
                    align-items: center;
                    margin-bottom: 20px;
                    .restrict_lef{
                        color: #666;
                        width: 45px;
                        margin-right: 20px;
                    }
                }
                // 商品规格
                .photo_sfn{
                    display: flex;
                    align-items: center;
                    margin-bottom: 20px;
                    // 左侧
                    .specification_lef{
                        font-size: 14PX;
                        color: #666;
                        width: 45px;
                        margin-right: 20px;
                    }
                    // 右侧
                    .specification_rig{
                        position: relative;
                        border: 1px solid #de3e26;
                        img{
                            &:nth-child(1){
                                width: 50px;
                                height: 50px;
                            }
                            &:nth-child(2){
                                position: absolute;
                                right: 0;
                                bottom: 0;
                                width: 10px;
                                height: 10px;
                            }
                        }
                    }
                }
                // 商品数量
                .photo_amount{
                    width: 730px;
                    display: flex;
                    margin-bottom: 20px;
                    // 内容盒子
                    .photo_amount_box{
                        display: flex;
                        align-items: center;
                        width: 565px;
                        .amount_lef{
                            width: 45px;
                            margin-right: 20px;
                            font-size: 14px;
                            color: #666;
                        }
                        // 右侧数量
                        .amount_rig{
                            position: relative;
                            width: 130px;
                            line-height: 30px;
                            border-radius: 5px;
                            border: 1px solid #b4bccc;
                            // 俩个按钮样式
                            .amount_sub,.amound_add{
                                position: absolute;
                                width: 32px;
                                font-size: 16px;
                                right: 1px;
                                height: auto;
                                text-align: center;
                                background: #f5f7fa;
                                color: #606266;
                                cursor: pointer;
                                // 禁止选中
                                user-select: none;
                            }
                            // 左侧 减 按钮的位置
                            .amound_add{
                                left: 1px;
                                
                            }
                            // 输入框
                            .amount_rig_cen{
                                padding: 0 32px;
                                font-size: 13px;
                                input{
                                    width: 100%;
                                    text-align: center;
                                }
                            }
                        }
                    }
                }
                // 加入购物车---购买
                .shoppingCart{
                    width: 730px;
                    margin-bottom: 20px;
                    // 按钮弹性盒
                    .shoppingCart_box{
                        display: flex;
                        align-items: center;
                        width: 310px;
                        justify-content: space-between;
                        // 按钮样式
                        button{
                            width: 150px;
                            height: 50px;
                            font-size: 18px;
                            outline: none;
                            border-radius: 5px;
                        }
                        // 购物车
                        .shoppingCart_gwc{
                            background-color: #fbe3df;
                            color: #de3e26;
                            border: 1px solid #de3e26;
                            cursor:pointer
                        }
                        // 购买
                        .shoppingCart_gm{
                            color:white;
                            background-color: #de3e26;
                            border: none;
                            cursor:pointer
                        }
                    }
                }
            }
        }
    }
    // 商品介绍-规格参数-商品评价   商品推荐
    .productDetails_body{
        width: 1200px;
        margin: 0 auto;
        display: flex;
        // 左侧大图介绍
        .productDetails_body_pic{
            width: 830px;
            margin-right: 50px;
            margin-bottom: 70px;
            // 上边 文字 商品介绍--规格参数 --商品评价
            .body_pic_top{
                background: #fff;
                width: 780px;
                border-top: 2px solid #f2f2f2;
                border-bottom: 2px solid #f2f2f2;
                display: flex;
                padding-left: 50px;
                margin-bottom: 20px;
                position: sticky;
                top: 70px;
                
                span{
                    padding: 20px 0 0;
                    font-size: 18px;
                    margin-right: 120px;
                    cursor: pointer;
                    height: 43px;
                    // 下划线
                    p{
                        display: none;
                        width: 50px;
                        margin: 0 auto;
                        padding-top: 16px;
                        border-bottom: 2px solid #009ce5;
                    }

                    &:nth-child(3){
                        div{
                             display: flex;
                            align-items: flex-start;
                        }
                       
                    }
                    // 滑动效果
                    &:hover{
                        color: #009ce5;
                    }
                    strong{
                        font-size: 16px;
                        font-weight: 500;
                    }
                }
                .span_color{
                    color: #009ce5;
                    p{
                        display: block;
                    }
                }
            }
            
            // 下方商品大图介绍
            .body_pic_list{
                width: 790px;
                padding: 0 20px;
                display: none;
                p{
                    img{
                        max-width: 100%;
                        vertical-align: bottom;
                    }
                }
            }
            // 下方规格参数
            .body_specification{
                width: 690px;
                margin: 0 auto;
                padding: 0 70px;
                display: flex;
                flex-direction: column;
                // 每行样式
                .item{
                    display: flex;
                    line-height: 48px;
                    color: grey;
                    border-bottom: 1px dotted #e6e6e6;
                    span:nth-child(1){
                        width: 200px;
                    }   
                }
            }
            // 让盒子消失
            .productDetails_box{
                display: none;
            }
        }
        // 右侧商品推荐
        .productDetails_body_recommend{
            width: 276px;
            padding: 25px 30px;
            border: 2px solid #f2f2f2;
            height: 100%;
            // 文字  为你推荐
            .recommend_title{
                width: 100%;
                font-size: 18px;
                color: grey;
                border-bottom: 2px solid #f2f2f2;
                padding-bottom: 25px;
                margin-bottom: 25px;
                text-align: center;
                // display: none;
            }
            // 商品规格
            
            // 每个商品盒子
            .recommend_item{
                margin-bottom: 25px;
                // 商品照片
                .item_pic{
                    a{
                        display: block;
                        width: 260px;
                        height: 260px;
                        img{
                            width: 260px;
                            height: 260px;
                        }
                    }
                }
                // 商品介绍
                .item_pge{
                    width: 260px;
                    height: 40px;
                    margin-bottom: 15px;
                    background: linear-gradient(180deg,#d1b874,#dec583);
                    .item_pge_box{
                        line-height: 40px;
                        font-size: 15px;
                        color: white;
                        padding: 0 15px;
                    }
                }
                // 商品名称
                .item_name{
                    width: 250px;
                    margin-left: 10px;
                    margin-bottom: 15px;
                    font-size: 18px;
                    font-weight: 700;
                }
                // 商品价格及购物车
                .item_price{
                    display: flex;
                    justify-content: space-between;
                    padding: 0 10px;
                    margin-bottom: 15px;
                    .price_lef{
                        display: flex;
                        color: red;
                        align-items: center;
                        h3{
                            font-size: 13px;
                        }
                        strong{
                            font-size: 20px;
                        }
                    }
                }
            }

        }
        
    }
}